<?php
/***********************************************************************
 * @package     IvanEngine
 * @subpackage  Plugin
 * @author      Ivan <ivanzx@msn.com>
 * @created     2010-05-23
 ***********************************************************************/
if(defined("PLUGIN_HOMEPAGE"))
    die("Redefinition macro in :".__FILE__."(".__LINE__.")");
define("PLUGIN_HOMEPAGE", true);

require_once (dirname(__FILE__).'/Inc/HomePageView.php');

// main plugin
class CPluginHomePage extends CPlugin
{
    // This plugin will install each request 
    public function Install()
    {
        return false;
    }
    
    // This plugin will uninstall each request
    public function Uninstall()
    {
        return false;
    }
    
    // This plugin will initialize each request
    public function Initialize()
    {
        $this->SetView(new CHomePageView());
    }
    
    // This plugin will shutdown each request
    public function Shutdown()
    {
        
    }
}

?>